<template>
  <div class="layout-page flex-col">
    <div class="header flex-row-center">
      <div class="brand flex-row" >
        <NuxtLink to="/">
        <img class="site-logo" src="~/static/soshu-logo.png" alt="我的学习资源站">
        </NuxtLink>
      </div>
    </div>
    <div class="body">
      <Nuxt />
    </div>
    <div class="footer flex-row-center">
<!--      <div class="label">我的资源站</div>-->
<!--      <div class="flex-1"></div>-->
<!--      <div class="label">©2020 Baidu</div>-->
<!--      <div class="label">京公网安备11000002000001号</div>-->
<!--      <div class="label">京ICP证030173号</div>-->
    </div>
  </div>
</template>

<style lang="less" scoped>
  .layout-page {
    min-width: 1280px;
    position: relative;
    .header {
      height: 70px;
      padding: 0 20px;
      background: #ffffff;
      box-shadow: 0 2px 10px 0 rgba(0,0,0,.1);
      .brand {
        .site-logo {
          margin-left: 30px;
          height: 40px;
        }
        .site-name {
          font-size: 16px;
        }
      }
    }
    .body {
      width: 1280px;
      margin: 0 auto;
      padding-bottom: 100px;
    }
    .footer {
      position: fixed;
      bottom: 0;
      left: 0;
      z-index: 2;
      background: #fbfbfb;
      width: 100%;
      height: 40px;
      padding: 0 20px;
      .label {
        font-size: 12px;
        color: #666;
        margin-left: 14px;
      }
    }
  }


</style>
